package com.xyf.service;

import com.seventh.common.pojo.R;
import com.xyf.pojo.entity.TbMaintainRecord;
import com.xyf.pojo.vo.MaintainRecordVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "维修记录方法类" , description = "维修记录方法类")
public interface TbMaintainRecordService {

    @ApiModelProperty("分页查询维修记录")
    R selectRecordByPage(Integer currentPage, Integer pageSize, MaintainRecordVo maintainRecordVo);
    @ApiModelProperty("根据id查询维修记录（修改回显用）")
    public TbMaintainRecord selectById(Integer id);
    @ApiModelProperty("添加维修记录")
    public R insertMaintainRecord(TbMaintainRecord tbMaintainRecord);
    @ApiModelProperty("删除维修维修记录")
    public R deleteMaintainRecord(Integer id);
    @ApiModelProperty("修改维修记录")
    public R updateMaintainRecord(TbMaintainRecord tbMaintainRecord);

}
